package com.yanjiali.model.req;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Package: com.yanjiali.com.yanjiali.com.yanjiali.model.req
 * @Author: yanjiali
 * @Created: 2025/4/13 21:20
 */
@Data
@ApiModel(value = "文件上传请求数据")
public class FileUploadReq {

    @JSONField(serialize = false)  // FastJSON 忽略此字段
    @ApiModelProperty(value = "用于接受前端传递文件上传对象")
    MultipartFile filedata;
}
